# Maintainer: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=py3-s3transfer
_pkgname=s3transfer
pkgver=0.3.3
pkgrel=0
pkgdesc="Amazon S3 Transfer Manager for Python"
url="https://github.com/boto/s3transfer"
arch="noarch"
license="Apache-2.0"
depends="py3-botocore<2.0.0"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/boto/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces=py-s3transfer # Backwards compatibility
provides=py-s3transfer=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="209968823a0cd477e71ffbf8a42dfab3de5aac9eca8e237205adc874a24b369d0413580c145610d1fd523b11d4bad842c4831320350b20154fd04ad1b0fc10f5  s3transfer-0.3.3.tar.gz"
